<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv="content-type" content="text/html;charset=utf-8" />
	<!-- manter -->
	<script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
	<title>[CAS] - Controle de Armazenagem </title>
	
	<!--  JAVASCRIPT'S -->
   
	<script type="text/javascript" src="js/jquery-ui-1.8.23.custom.min.js"></script> 	
   	<script type="text/javascript" src="js/cas.js"></script>
	<script type="text/javascript" src="js/menu.js"></script>
	<script src="js/rollover.js" type="text/javascript"></script>
	<script type="text/javascript" src="js/script.js"></script>
	<script type="text/javascript" src="js/jquery.flexslider-min.js"></script>
	
	<!-- CSS'S -->
	
	<link type="text/css" href="css/menu.css" rel="stylesheet" />
	<link rel="stylesheet" href="css/reset.css" type="text/css" media="all">
	<link rel="stylesheet" href="css/main.css" type="text/css" media="all">
	<link rel="stylesheet" href="css/style.css" type="text/css" media="all">
	<link rel="stylesheet" href="css/flexslider.css" type="text/css" media="screen" />
	<meta name="viewport" content="width=device-width, initial-scale=1" />	
	
	<!-- blueprint CSS framework -->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
	<!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
	<![endif]-->
	
	<!-- yii layout  -->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />
	
		
	<!--funcao que chama o flexslider ao carregar a pagina -->
	<script type="text/javascript">
		 $(window).load(function () {
         $('.flexslider').flexslider();

        });
    </script>
</head>
	
<body >
	<!--Menu-->
    <style type="text/css">
        *
        {
            margin: 0;
            padding: 0;
        }
        body
        {
            background: #171717;
        }
        div#menu
        {
            margin: 30px auto;
            width: 80%;
        }
        div#copyright
        {
            width: 80%;
            margin: 0 auto;
            font: 11px 'Trebuchet MS';
            color: #6b717c;
            text-indent: 30px;
            padding: 40px 0 0 0;
        }
        div#copyright a
        {
            color: #d7d2bc;
        }
        div#copyright a:hover
        {
            color: #6b717c;
        }
    </style>
	    <div id="menu">
	        <ul class="menu">
	        <li><a href="#" class="parent"><span>Home <span class="subtext">home</span></span></a>
	             <?php $this->widget('zii.widgets.CMenu',array(
													'items'=>array(
														array('label'=>'Home', 'url'=>array('/site/index')),
																								),
							        )); ?>
			
	        </li>
	        
	        		            <li><a href="#" class="parent"><span>Principal <span class="subtext">principal</span></span></a>
	             <?php $this->widget('zii.widgets.CMenu',array(
													'items'=>array(
														array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
														array('label'=>'Usuários', 'url'=>array('/usuario'), 'visible'=>!Yii::app()->user->isGuest),
														array('label'=>'Armazéns', 'url'=>array('/armazem'), 'visible'=>!Yii::app()->user->isGuest),
														array('label'=>'Reguladoras', 'url'=>array('/reguladora'), 'visible'=>!Yii::app()->user->isGuest),
														array('label'=>'Seguradoras', 'url'=>array('/seguradora'), 'visible'=>!Yii::app()->user->isGuest),
														array('label'=>'Segurados', 'url'=>array('/segurado'), 'visible'=>!Yii::app()->user->isGuest),
														array('label'=>'Processos', 'url'=>array('/processo'), 'visible'=>!Yii::app()->user->isGuest),
														array('label'=>'Reguladores', 'url'=>array('/perito'), 'visible'=>!Yii::app()->user->isGuest),
														array('label'=>'Sair ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest)
													),
							        )); ?>
	            </li>
	            
	        </ul>
	    </div>
 
		<!-- cabecalho -->
		<header>
			<div class="container">
					<div class="flexslider">
						<ul class="slides">
							<li><img src="images/03.png" />
							<p class="flex-caption"> Armazéns ...</p>
							</li>
							<li><img src="images/01.png" />
								<p class="flex-caption">Serviços ...</p>
							</li>
							<li><img src="images/04.png" /> 
								<p class="flex-caption">Acessibilidade ...</p>
							</li>
							<li><img src="images/02.jpg" />
								<p class="flex-caption">Controle ...</p>
							</li>
						</ul>
					</div>
			</div>			
		</header>
	
		<!--Slogan-->
		<div class="slogan"><img src="images/slogan.png"></div>
		<h1><a href=""></a></h1>
	
		<!-- corpo da pagina -->
		<section id="content">
		
			<div class="container">
				<!-- mainmenu -->
				<?php if(isset($this->breadcrumbs)):?>
					<?php $this->widget('zii.widgets.CBreadcrumbs', array(
						'links'=>$this->breadcrumbs,
					)); ?><!-- breadcrumbs -->
				<?php endif?>
				
				<?php echo $content; ?>

		     </div>
		</section>
		
		<!--rodape--> 
		<footer>
			<div class="footerlink">
				<p class="lf">Copyright &copy; 2013 - <a href="#">Logistimática.com.br</a> - All Rights Reserved</p>
				<p class="rf"><a href="#"><img src="images/top.png"></a></p>
				<div style="clear: both;"></div>
				
			</div>
		</footer>
		<div align=center></div>
	</body>
</html>
